package com.jia.train.seat.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ConfirmOrderTicketRequest {

    @NotNull(message = "[乘客id] 不能为空")
    private Long passengerId;

    @NotBlank(message = "[乘客票种] 不能为空")
    private String passengerType;

    @NotBlank(message = "[乘客名称] 不能为空")
    private String passengerName;

    @NotBlank(message = "[乘客身份证] 不能为空")
    private String passengerIdCard;

    @NotBlank(message = "[乘客类型code] 不能为空")
    private String seatTypeCode;

    private String seat;


}
